package io.renren.modules.noc.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import io.renren.modules.noc.entity.NocLyEntity;
import io.renren.modules.noc.entity.NocReceiptEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 活动推广渠道管理
 * 
 * @author whc
 * @email hucheng_86@126.com
 * @date 2019-05-05 22:51:12
 */
@Mapper
public interface NocResultDao {

    List<Map<String,Object>> getTotalResult(@Param("tid")String tid,@Param("start")String start,@Param("end")String end);

    List<Map<String,Object>> getNewResult(@Param("tid")String tid,@Param("start")String start,@Param("end")String end);

    List<Map<String,Object>> getRecomeResult(@Param("tid")String tid,@Param("start")String start,@Param("end")String end);

    List<Map<String,Object>> getMemberReceipt(Page<Map<String,Object>> page,@Param("params")Map<String, Object> params);

    Map<String,Object> getCompanyReceipt(@Param("params")Map<String, Object> params);

    List<Map<String, Object>> getMemberPresent(Page<Map<String,Object>> page,@Param("params")Map<String, Object> params);

    List<Map<String, Object>> getAudiencePresent(Page<Map<String, Object>> page,@Param("params")Map<String, Object> params);
}
